

export default (async function () {
    let shadersList = ['MaskVertex.vert', 'MaskFragment.frag', 'EdgeVertex.vert', 'EdgeFragment.frag']

    let fetchList = shadersList.map(shader => {
        fetch('/shader/' + shader)
            .then(data => data.text())
    })

    return Promise.all(fetchList)
})()